﻿ALTER TABLE [dbo].[t_NameSpaces]
    ADD CONSTRAINT [FK_t_NameSpaces_t_NameSpaceParent] FOREIGN KEY ([ParentID]) REFERENCES [dbo].[t_NameSpace] ([ID]) ON DELETE NO ACTION ON UPDATE NO ACTION;


GO
ALTER TABLE [dbo].[t_NameSpaces] NOCHECK CONSTRAINT [FK_t_NameSpaces_t_NameSpaceParent];

